package com.sry.blog.dto;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@EqualsAndHashCode
@Builder
public class ReplyDTO {
    // 评论id
    private Integer id;
    // 评论者id
    private Integer fromId;
    //评论者名字
    private String fromName;
    //评论者头像
    private String fromAvatar;
    //被评论的id，昵称，头像
    private Integer toId;
    private String toName;
    private String toAvatar;
    private String content;
    private Date date;
}